<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>评论处理</title>
	<link rel="stylesheet" href="<?= AC ?>order-table.css">
	<!-- <link rel="stylesheet" href="../css/table.css"> -->
</head>
<body>
	<div class="table-wrap">
		<div class="table-main">
			<div class="ibox-title">
				<h3>处理评价</small></h3>
			</div>
			<div class="ibox-content">	
				<form action="index.php?c=evaluate&m=doEdit" class="form-main" method="post">

					<div class="form-group">
						<ul>
							<input type="hidden" name="id" value="<?= $res['id'] ?>">
							<li>
								<span class="form-title">商品名称</span>
								<span class="form-username"><?= $res['name'] ?></span>
								<!-- <em class="form-error">* 请输入有误</em> -->
							</li>
							<li>
								<span class="form-title">评价时间</span>
								<span class="form-username"><?= $res['createtime'] ?></span>
								<!-- <em class="form-error">* 请输入有误</em> -->
							</li>

							<li>
								<span class="form-title">评价级别</span>
								<select class="order-cate" name="score">

									<option value="1" <?= $res['score'] == 1  ? 'selected' : '' ?> >好评</option>
									<option value="2" <?= $res['score'] == 2  ? 'selected' : '' ?> >中评</option>
									<option value="3" <?= $res['score'] == 3  ? 'selected' : '' ?> >差评</option>
								</select>
							</li>

							<li>
								<span class="form-title">用户评价</span>
								<span class="form-username" style="width: 70%; vertical-align: middle; line-height: 30px;"><?= $res['content'] ?></span>
							</li>

							<li>
								<span class="form-title">商家回复</span>

								<textarea name="reply" style="margin-left: 20px; width: 70%; height: 120px; vertical-align: middle;"></textarea>
							</li>
							<li>
								<span class="form-title"></span>
								<input class="form-submit-btn" type="submit" value="提交">
								<a href="index.php?c=evaluate" class="form-back-btn"  name="">返回</a>
							</li>
						</ul>
					</div>

				</form>
			</div>
		</div>
	</div>
</body>
</html>